package com.biz.primus.model.promotion.vo;

import com.biz.primus.model.promotion.enums.PromotionGiftTypeEnum;
import com.biz.primus.model.promotion.enums.PromotionPointGiftTypeEnum;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import lombok.Getter;
import lombok.Setter;

/**
 * 赠品规则Vo
 *
 * @author david-liu
 */
@Getter
@Setter
public class PurchaseGiftRuleVo implements Serializable {
    private static final long serialVersionUID = -7897971112365533339L;

    /**
     * 买赠促销赠品类型
     */
    private PromotionGiftTypeEnum giftType;

    /**
     * 赠送商品数量
     */
    private Integer giftProductQuantity;

    /**
     * 赠品ID集合
     */
    private List<Long> giftProductIds;

    /**
     * 是否限制库存
     */
    private Boolean limitGiftProductStock;

    /**
     * 赠送积分方式
     */
    private PromotionPointGiftTypeEnum pointGiftType;

    /**
     * 赠送的积分数量
     */
    private Integer pointQuantity;

    /**
     * 结算时使用的积分倍数
     */
    private Integer pointIncreaseTimes;

    /**
     * 赠送的券的ID集合
     */
    private Map<Long, Integer> couponIds;
}
